package com.zja.dao;

import com.zja.model.KnowledgeBase;

import java.util.List;


/**
 * @author JA
 */
public interface KnowledgeBaseDao {
    List<KnowledgeBase> selectAll();

    KnowledgeBase selectById(Long id);

    boolean insert(KnowledgeBase knowledgeBase);

    boolean update(KnowledgeBase knowledgeBase);

    boolean deleteById(Long id);
}
